diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-11-13 16:16:29 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-11-13 16:16:29 +0200 |
commit | 0e00fced99976d74e972a3c9ca5b762697840a33 (patch) | |
tree | 632f7e06d3e7d81e15f78d8821d39acf59b8301c /tests/cassettes/test_status_post[Content warning-private].yaml | |
parent | c66015a6b0655f865c45587095ca8744a9d61534 (diff) | |
download | mastodon.py-0e00fced99976d74e972a3c9ca5b762697840a33.tar.gz |
fix tests
Diffstat (limited to 'tests/cassettes/test_status_post[Content warning-private].yaml')
-rw-r--r-- | tests/cassettes/test_status_post[Content warning-private].yaml | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/tests/cassettes/test_status_post[Content warning-private].yaml b/tests/cassettes/test_status_post[Content warning-private].yaml index 175d679..f6c5e43 100644 --- a/tests/cassettes/test_status_post[Content warning-private].yaml +++ b/tests/cassettes/test_status_post[Content warning-private].yaml | |||
@@ -20,18 +20,18 @@ interactions: | |||
20 | uri: http://localhost:3000/api/v1/statuses | 20 | uri: http://localhost:3000/api/v1/statuses |
21 | response: | 21 | response: |
22 | body: | 22 | body: |
23 | string: '{"id":"109336680576827737","created_at":"2022-11-13T13:15:45.716Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content | 23 | string: '{"id":"109336907896557916","created_at":"2022-11-13T14:13:34.341Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content |
24 | warning","visibility":"private","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109336680576827737","url":"http://localhost:3000/@mastodonpy_test/109336680576827737","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 24 | warning","visibility":"private","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109336907896557916","url":"http://localhost:3000/@mastodonpy_test/109336907896557916","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
25 | test suite","website":null},"account":{"id":"109336623311102204","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 25 | test suite","website":null},"account":{"id":"109336899193569236","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
26 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI | 26 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI |
27 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","followers_count":0,"following_count":0,"statuses_count":8,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' | 27 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","followers_count":0,"following_count":0,"statuses_count":9,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' |
28 | headers: | 28 | headers: |
29 | Cache-Control: | 29 | Cache-Control: |
30 | - no-store | 30 | - no-store |
31 | Content-Security-Policy: | 31 | Content-Security-Policy: |
32 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 32 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
33 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 33 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
34 | style-src ''self'' http://localhost:3000 ''nonce-rfNmtensf+c+Jd8MhH//6g==''; | 34 | style-src ''self'' http://localhost:3000 ''nonce-8xi/Gj6diYTNo3oSXWaarQ==''; |
35 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 35 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
36 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 36 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
37 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 37 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -41,7 +41,7 @@ interactions: | |||
41 | Content-Type: | 41 | Content-Type: |
42 | - application/json; charset=utf-8 | 42 | - application/json; charset=utf-8 |
43 | ETag: | 43 | ETag: |
44 | - W/"65dbe30639d5cc193b07ba5db874a018" | 44 | - W/"122101fc7341892710308f401f56a50f" |
45 | Referrer-Policy: | 45 | Referrer-Policy: |
46 | - strict-origin-when-cross-origin | 46 | - strict-origin-when-cross-origin |
47 | Transfer-Encoding: | 47 | Transfer-Encoding: |
@@ -61,11 +61,11 @@ interactions: | |||
61 | X-RateLimit-Remaining: | 61 | X-RateLimit-Remaining: |
62 | - '207' | 62 | - '207' |
63 | X-RateLimit-Reset: | 63 | X-RateLimit-Reset: |
64 | - '2022-11-13T15:00:00.737170Z' | 64 | - '2022-11-13T15:00:00.360446Z' |
65 | X-Request-Id: | 65 | X-Request-Id: |
66 | - d61d88ad-bfd1-4534-a225-4b669abcd894 | 66 | - 05868784-d1b8-4966-8401-aec397e38332 |
67 | X-Runtime: | 67 | X-Runtime: |
68 | - '0.032888' | 68 | - '0.031319' |
69 | X-XSS-Protection: | 69 | X-XSS-Protection: |
70 | - 1; mode=block | 70 | - 1; mode=block |
71 | status: | 71 | status: |
@@ -87,21 +87,21 @@ interactions: | |||
87 | User-Agent: | 87 | User-Agent: |
88 | - tests/v311 | 88 | - tests/v311 |
89 | method: DELETE | 89 | method: DELETE |
90 | uri: http://localhost:3000/api/v1/statuses/109336680576827737 | 90 | uri: http://localhost:3000/api/v1/statuses/109336907896557916 |
91 | response: | 91 | response: |
92 | body: | 92 | body: |
93 | string: '{"id":"109336680576827737","created_at":"2022-11-13T13:15:45.716Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content | 93 | string: '{"id":"109336907896557916","created_at":"2022-11-13T14:13:34.341Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content |
94 | warning","visibility":"private","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109336680576827737","url":"http://localhost:3000/@mastodonpy_test/109336680576827737","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Toot!","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 94 | warning","visibility":"private","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109336907896557916","url":"http://localhost:3000/@mastodonpy_test/109336907896557916","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Toot!","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
95 | test suite","website":null},"account":{"id":"109336623311102204","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 95 | test suite","website":null},"account":{"id":"109336899193569236","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
96 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI | 96 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI |
97 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","followers_count":0,"following_count":0,"statuses_count":7,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' | 97 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","followers_count":0,"following_count":0,"statuses_count":8,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' |
98 | headers: | 98 | headers: |
99 | Cache-Control: | 99 | Cache-Control: |
100 | - no-store | 100 | - no-store |
101 | Content-Security-Policy: | 101 | Content-Security-Policy: |
102 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 102 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
103 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 103 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
104 | style-src ''self'' http://localhost:3000 ''nonce-rWcdQF9v9UTF2N85hDCdwA==''; | 104 | style-src ''self'' http://localhost:3000 ''nonce-lJqjH5SbTkpael4SdZALbA==''; |
105 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 105 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
106 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 106 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
107 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 107 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -111,7 +111,7 @@ interactions: | |||
111 | Content-Type: | 111 | Content-Type: |
112 | - application/json; charset=utf-8 | 112 | - application/json; charset=utf-8 |
113 | ETag: | 113 | ETag: |
114 | - W/"4ae40bd592234acb27fad15567957e00" | 114 | - W/"4b54f7967ec857e92cce1d49e76a2f0f" |
115 | Referrer-Policy: | 115 | Referrer-Policy: |
116 | - strict-origin-when-cross-origin | 116 | - strict-origin-when-cross-origin |
117 | Transfer-Encoding: | 117 | Transfer-Encoding: |
@@ -127,9 +127,9 @@ interactions: | |||
127 | X-Permitted-Cross-Domain-Policies: | 127 | X-Permitted-Cross-Domain-Policies: |
128 | - none | 128 | - none |
129 | X-Request-Id: | 129 | X-Request-Id: |
130 | - 3803560d-4805-480f-ae80-73dd1590fcf4 | 130 | - e1a47835-b453-42b0-b5da-b5ea88879ba7 |
131 | X-Runtime: | 131 | X-Runtime: |
132 | - '0.025297' | 132 | - '0.024838' |
133 | X-XSS-Protection: | 133 | X-XSS-Protection: |
134 | - 1; mode=block | 134 | - 1; mode=block |
135 | status: | 135 | status: |